<h1><img src="./templates/images/icones/Ceo.png" />&nbsp;Espace commercial</h1>

<div class='grid_12'>

	<!-- Bandeau de navigation -->
	<h3><a href="commercial.php"><u>Agence {AGENCE_NOM}</a></u> > <u><a href="#">Gestion des v&eacute;hicules</a></u></h3>

	<!-- Nouveu client : saisie manuelle -->
	<div class='grid_6 prefix_3 suffix_3' style="margin-top: 30px;" id="nouveau_client_titre" onclick="afficheId('nouveau_client_contenu');cacheId('nouveau_client_titre');">
		<form id="start" action="#">
			<a href="#"><h3><img src="./templates/images/icones/Car.png" /> Ajouter un v&eacute;hicule...</h3></a>
		</form>
	</div>
	
	<div class='grid_6 prefix_3 suffix_3' style="margin-top: 30px;display:none;" id="nouveau_client_contenu"  >
		
		<form method="post" action="commercial_vehicule.php">
			<p>
				<h1><img src="./templates/images/icones/Car.png" />&nbsp;Ajouter un v&eacute;hicule</h1>
			</p>
			<p>
				<label for="lastname">Type</label>
				<select name="type" size="1">
				<!-- BEGIN TYPE -->
					<option value="{TYPE.ID}">&nbsp;{TYPE.LIB}&nbsp;</option>
				<!-- END TYPE -->
				</select>
			</p>
			<p>
				<label for="marque">Marque</label>
				<input id="marque" name="marque" type="text"/>
			</p>
			<p>
				<label for="modele">Mod&egrave;le</label>
				<input id="modele" name="modele" type="text"/>
			</p>
			<p>
				<input type="hidden" id="agence_id" value="{AGENCE_ID}" />
				<input type="hidden" id="mode" name="mode" value="add" />
				<input type="submit" value="Ajouter le v&eacute;hicule"/>
			</p>
		</form>
	</div>
<div class='clear'>&nbsp;</div>
	<div>
		<h1>V&eacute;hicules enregistr&eacute;s</h1>
		<table>
			<tr>
				<th><img src="./templates/images/icones/Small-Car.png" /></th>
				<th>Type de v&eacute;hicule</th>
				<th>Marque</th>
				<th>Mod&egrave;le</th>
			</tr>	
			<!-- BEGIN VEHICULE -->
			<tr class="center">
				<td><a href="commercial_vehicule.php?id={VEHICULE.ID}"  style="display:{VEHICULE.DISPLAY}"><img src="./templates/images/icones/Delete.png" /></a></td>
				<td>{VEHICULE.TYPE}</td>
				<td>{VEHICULE.MARQUE}</td>
				<td>{VEHICULE.MODELE}</td>
			</tr>
			<!-- END VEHICULE -->
		</table>
	</div>
</div>
